import {
	request
} from "@/utils/request.js";


export const indexTagApi = () => {
	return request('/index/getIndexTag', {}, "GET")
}

// 首页商品列表
export const homeDataApi = (data) => {
	return request('/index/getGoodsByIndexTag', data, "GET")
}

// 获取弹窗信息
export const adWindowApi = data => {
	return request('/third_api/pop_window', data, 'GET')
}

// 地址、邮费获取
export const confirmAddApi = data => {
	return request('/third_api/judge_addr', data, "POST")
}

// 积分抵扣比例
export const integralScaleApi = data => {
	return request('/third_api/get_proportion', data, 'GET')
}

// 获取门店距离
export const distanceApi = data => {
	return request('/third_api/get_store', data, "GET")
}
